package cn.itcast.tanhua.dubbo.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.retry.annotation.EnableRetry;

/**
 * @ClassName HuanXinDubboApp
 * @Description 启动类，从interface中引入了MongoDB的依赖，本模块不需要使用MongoDB，需要排除MongoDB的自动配置
 * @Author Mr.Tan
 * @Date 2021/6/6 19:06
 * @Version 1.0
 */
@SpringBootApplication(exclude = {
        MongoAutoConfiguration.class, MongoDataAutoConfiguration.class
})
@EnableRetry
public class HuanXinDubboApp {
    public static void main(String[] args) {
        SpringApplication.run(HuanXinDubboApp.class,args);
    }
}
